Proceedings

Neural Networks for Predicting Algorithm Runtime Distributions

Download BibTeX Cite

Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence. Main track. Pages 1442-1448.

https://doi.org/10.24963/ijcai.2018/200

Abstract

Many state-of-the-art algorithms for solving hard combinatorial problems in artificial intelligence (AI) include elements of stochasticity that lead to high variations in runtime, even for a fixed problem instance. Knowledge about the resulting runtime distributions (RTDs) of algorithms on given problem instances can be exploited in various meta-algorithmic procedures, such as algorithm selection, portfolios, and randomized restarts. Previous work has shown that machine learning can be used to individually predict mean, median and variance of RTDs. To establish a new state-of-the-art in predicting RTDs, we demonstrate that the parameters of an RTD should be learned jointly and that neural networks can do this well by directly optimizing the likelihood of an RTD given runtime observations. In an empirical study involving five algorithms for SAT solving and AI planning, we show that neural networks predict the true RTDs of unseen instances better than

previous methods, and can even do so when only few runtime observations are available per training instance.

  1. [Arbelaez et al., 2016] A. Arbelaez, C. Truchet, and B. O'Sullivan. Learning sequential and parallel runtime distributions for random- ized algorithms. In Proc. of ICTAI'16, pages 655-662, 2016.
  2. [Babić and Hutter, 2007] D. Babić and F. Hutter. Spear theorem prover, 2007. Solver description, SAT competition.
  3. [Balint and Schöning, 2012] A. Balint and U. Schöning. Choosing probability distributions for stochastic local search and the role of make versus break. In Proc. of SAT'12, pages 16-29, 2012.
  4. [Biere, 2014] A. Biere. Yet another local search solver and lingeling and friends entering the SAT competition 2014. In Proc. of SAT Competition 2014, pages 39-40, 2014.
  5. [Brewer, 1995] E. Brewer. High-level optimization via automated statistical modeling. In ACM SIGPLAN Notices, pages 80-91, 1995.
  6. [Chollet et al., 2015] Chollet et al. Keras. https://github.com/ fchollet/keras, 2015. Link
  7. [Eggensperger et al., 2018] K. Eggensperger, M. Lindauer, H. Hoos, F. Hutter, and K Leyton-Brown. Efficient benchmarking of algo- rithm configuration procedures via model-based surrogates. Ma- chine Learning, 107:15-41, 2018.
  8. [Fawcett et al., 2014] C. Fawcett, M. Vallati, F. Hutter, J. Hoffmann, H. Hoos, and K. Leyton-Brown. Improved features for runtime prediction of domain-independent planners. In Proc. of ICAPS'14, pages 355-359, 2014.
  9. [Fink, 1998] E. Fink. How to solve it automatically: Selection among problem-solving methods. In Proc. of ICANN'08, pages 128-136, 1998.
  10. [Frost et al., 1997] D. Frost, I. Rish, and L. Vila. Summarizing CSP hardness with continuous probability distributions. In Proc. of AAAI'97, pages 327-333, 1997.
  11. [Gagliolo and Schmidhuber, 2005] M. Gagliolo and J. Schmidhuber. A neural network model for inter-problem adaptive online time allocation. In Proc. of ICANN'05, pages 752-752, 2005.
  12. [Gagliolo and Schmidhuber, 2006a] M. Gagliolo and J. Schmidhu- ber. Impact of censored sampling on the performance of restart strategies. In Proc. of CP'06, pages 167-181, 2006.
  13. [Gagliolo and Schmidhuber, 2006b] M. Gagliolo and J. Schmidhu- ber. Learning dynamic algorithm portfolios. AMAI, 47(3-4):295- 328, 2006.
  14. [Gebser et al., 2012] M. Gebser, B. Kaufmann, and T. Schaub. Conflict-driven answer set solving: From theory to practice. AI, 187-188:52-89, 2012.
  15. [Gent et al., 1999] I. Gent, H. Hoos, P. Prosser, and T. Walsh. Mor- phing: Combining structure and randomness. In Proc. of AAAI'99, pages 654-660, 1999.
  16. [Gerevini and Serina, 2002] A. Gerevini and I. Serina. LPG: A plan- ner based on local search for planning graphs with action costs. In Proc. of AIPS'02, pages 13-22, 2002.
  17. [Gomes and Selman, 1997] C. Gomes and B. Selman. Problem structure in the presence of perturbations. In Proc. of AAAI'97, pages 221-226, 1997.
  18. [Gomes and Selman, 2001] C. Gomes and B. Selman. Algorithm portfolios. AIJ, 126(1-2):43-62, 2001.
  19. [Gomes et al., 2000] C. Gomes, B. Selman, N. Crato, and H. Kautz. Heavy-tailed phenomena in satisfiability and constraint satisfac- tion problems. JAR, 24:67-100, 2000.
  20. [Goodfellow et al., 2016] I.
  21. Goodfellow, Y. Bengio, and A. Courville. Deep Learning. MIT Press, 2016.
  22. [Haim and Walsh, 2009] S. Haim and T. Walsh. Restart strategy selection using machine learning techniques. In Proc. of SAT'09, pages 312-325, 2009.
  23. [Hoos and Stützle, 2004] H. Hoos and T. Stützle. Stochastic Local Search: Foundations & Applications. Morgan Kaufmann Publish- ers Inc., 2004.
  24. [Hurley and O'Sullivan, 2015] B. Hurley and B. O'Sullivan. Statis- tical regimes and runtime prediction. In Proc. of IJCAI'15, pages 318-324, 2015. IJCAI
  25. [Hutter et al., 2002] F. Hutter, D. Tompkins, and H. Hoos. Scaling and probabilistic smoothing: Efficient dynamic local search for SAT. In Proc.of CP'02, pages 233-248, 2002.
  26. [Hutter et al., 2006] F. Hutter, Y. Hamadi, H. Hoos, and K. Leyton- Brown. Performance prediction and automated tuning of random- ized and parametric algorithms. In Proc. of CP'06, pages 213-228, 2006.
  27. [Hutter et al., 2011] F. Hutter, H. Hoos, and K. Leyton-Brown. Se- quential model-based optimization for general algorithm configu- ration. In Proc. of LION'11, pages 507-523, 2011.
  28. [Hutter et al., 2013] F. Hutter, H. Hoos, and K. Leyton-Brown. Iden- tifying key algorithm parameters and instance features using for- ward selection. In Proc. of LION'13, pages 364-381, 2013.
  29. [Hutter et al., 2014] F. Hutter, L. Xu, H. Hoos, and K. Leyton- Brown. Algorithm runtime prediction: Methods and evaluation. AIJ, 206:79-111, 2014.
  30. [Jacobs et al., 1991] R. Jacobs, M. Jordan, S. Nowlan, and G. Hin- ton. Adaptive mixtures of local experts. Neural Computation, 3(1):79-87, 1991.
  31. [Jones et al., 2001] E. Jones, T. Oliphant, and P. Peterson et al. SciPy: Open source scientific tools for Python. http://www.scipy. org/, 2001. Link
  32. [Leyton-Brown et al., 2009] K. Leyton-Brown, E. Nudelman, and Y. Shoham. Empirical hardness models: Methodology and a case study on combinatorial auctions. Journal of ACM, 56(4):1-52, 2009.
  33. [Loreggia et al., 2016] A. Loreggia, Y. Malitsky, H. Samulowitz, and V. Saraswat. Deep learning for algorithm portfolios. In Proc. of AAAI'16, pages 1280-1286, 2016.
  34. [Luby et al., 1993] M. Luby, A. Sinclair, and D. Zuckerman. Opti- mal speedup of las vegas algorithms. Inf. Process. Lett., pages 173-180, 1993.
  35. [Nudelman et al., 2004] E. Nudelman, K. Leyton-Brown, A. De- vkar, Y. Shoham, and H. Hoos. Understanding random SAT: Beyond the clauses-to-variables ratio. In Proc. of CP'04, pages 438-452, 2004.
  36. [Pascanu et al., 2014] R. Pascanu, T. Mikolov, and Y. Bengio. On the difficulty of training recurrent neural networks. In Proc. of ICML'13, pages 1310-1318, 2014.
  37. [Pedregosa et al., 2011] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. JMLR, 12:2825-2830, 2011.
  38. [Penberthy and Weld, 1994] J. Penberthy and D. Weld. Temporal planning with continuous change. In Proc. of AAAI'94, pages 1010-1015, 1994.
  39. [Roberts and Howe, 2007] Mark Roberts and Adele Howe. Learned models of performance for many planners. In ICAPS 2007 Work- shop AI Planning and Learning, 2007.
  40. [Smith-Miles and Lopes, 2012] K. Smith-Miles and L. Lopes. Mea- suring instance difficulty for combinatorial optimization problems. Computers and Operations Research, 39(5):875-889, 2012.
  41. [Xu et al., 2008] L. Xu, F. Hutter, H. Hoos, and K. Leyton-Brown. SATzilla: Portfolio-based algorithm selection for SAT. JAIR, 32:565-606, 2008.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards